package com.wxiao.exam;

import com.wxiao.exam.pojo.TeacherDO;
import com.wxiao.exam.pojo.vo.TeacherClassVO;
import com.wxiao.exam.pojo.vo.TeacherVO;

import java.util.ArrayList;

/** 
 * <br/>
 * Created by wangxiao on 2019/07/05
 */
public interface TeacherService {

	Result addTeacher(TeacherVO teacherVO) throws Exception;

	Result updateTeacher(TeacherVO teacherVO) throws Exception;
	
	Result findDetailTeacher(TeacherVO teacherVO) throws Exception;
	
	PageBean<TeacherDO> listTeacher(TeacherVO teacherVO) throws Exception;

    Result listTeacherPage(TeacherVO teacherVO) throws Exception;
	
	Result countTeacher(TeacherVO teacherVO) throws Exception;
	
	Result deleteTeacher(TeacherVO teacherVO) throws Exception;

	TeacherDO getTeacherByName(String username);

    Result addClass(ArrayList<TeacherClassVO> list, Integer tid);
}